﻿using System.Collections.Generic;

namespace TheWorldLibrary.Worlds
{
    public class MapData
    {
        #region Fields

        public string MapName;
        public MapLayerData[] Layers;
        public TilesetData[] Tilesets;
        public int Revision;

        #endregion

        #region Constructors

        private MapData()
        {
        }

        public MapData(string mapName, List<TilesetData> tilesets, List<MapLayerData> layers)
        {
            MapName = mapName;
            Tilesets = tilesets.ToArray();
            Layers = layers.ToArray();
        }

        #endregion
    }
}
